package com.dsg.entity.set;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 客戶/公司黑名單
 * </p>
 *
 * @author system
 * @since 2020-08-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("dsg_set_cus_backlist")
@ApiModel(value="DsgSetCusBacklist对象", description="客戶/公司黑名單")
public class DsgSetCusBacklist implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 公司
     */
    public final static String OWNS_TYPE_COM = "1";
    /**
     * 個人
     */
    public final static String OWNS_TYPE_CUS = "2";

    @ApiModelProperty(value = "主鍵")
    @TableId("OID")
    private String oid;

    @ApiModelProperty(value = "企業編碼")
    @TableField("ENT_CODE")
    private String entCode;

    @ApiModelProperty(value = "資料類型")
    @TableField("OWNS_TYPE")
    private String ownsType;

    @ApiModelProperty(value = "個人/公司申請資料ID")
    @TableField("CUS_ID")
    private String cusId;

    @ApiModelProperty(value = "客戶/公司編號")
    @TableField("CUS_NO")
    private String cusNo;

    @ApiModelProperty(value = "客戶身份證/公司商業登記證")
    @TableField("ID_CARD")
    private String idCard;

    @ApiModelProperty(value = "英文名")
    @TableField("CUS_NAME_EN")
    private String cusNameEn;

    @ApiModelProperty(value = "中文名")
    @TableField("CUS_NAME_CH")
    private String cusNameCh;

    @ApiModelProperty(value = "創建時間")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "創建人")
    @TableField("CREATER")
    private String creater;

    @ApiModelProperty(value = "更新人")
    @TableField("UPDATER")
    private String updater;

    @ApiModelProperty(value = "更新時間")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "車牌號碼")
    @TableField(exist = false)
    private String cardNos;

    @ApiModelProperty(value = "付款資料")
    @TableField(exist = false)
    private String payAccountNos;

    @ApiModelProperty(value = "關注原因")
    @TableField(exist = false)
    private String reason;

    @ApiModelProperty(value = "應繳金額")
    @TableField(exist = false)
    private BigDecimal arrearsValue;

    @ApiModelProperty(value = "客戶名稱")
    @TableField(exist = false)
    private String cusName;


}
